package io;

import java.io.*;

public class PWDemo2 {
    public static void main(String[] args) throws FileNotFoundException {

        PrintWriter pw = new PrintWriter(
                new BufferedWriter(
                        new OutputStreamWriter(
                                new FileOutputStream("pwdemo2.txt"))));
        pw.println("asd");
        pw.println("aaa");
        pw.close();
    }
}
